package com.sdy.dataadapter;

public enum DbDriver {
    /**
     * 新版mysql驱动
     */
    MYSQL_CJ("com.mysql.cj.jdbc.Driver"),
    /**
     * 旧版mysql驱动
     */
    MYSQL("com.mysql.jdbc.Driver"),
    /**
     * oracle驱动
     */
    ORACLE("oracle.jdbc.driver.OracleDriver"),
    /**
     * sqlserver驱动
     */
    SQL_SERVER("com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    /**
     * sqlserver驱动
     */
    DB2("");
    
    private String driver;
    DbDriver(String driver) {
        this.driver = driver;
    }
    
    public String getDriver() {
        return driver;
    }
}
